.bg{
    background: yellow;
}
div{
    overflow: hidden;
    white-space: nowrap;
}